翻訳と辞書
Words near each other
・ Left Party (Sweden)
・ Left Party – Zona Franca
・ Left posterior fascicular block
・ Left production
・ Left pulmonary artery
・ Left quotient
・ Left realism
・ Left Recomposition
・ Left recursion
・ Left Review
・ Left Revolutionary Front
・ Left Right and Centre
・ Left Right Left
・ Left Right Left (film)
・ Left Right Out of Your Heart
Left rotation
・ Left School
・ Left shift
・ Left shift (medicine)
・ Left Side Brain
・ Left Side of the Brain
・ Left Socialist Accord
・ Left Socialist Party (Belgium)
・ Left Socialist Party (Sweden)
・ Left Socialist Revolutionaries
・ Left Socialists
・ Left Spine Down
・ Left SR uprising
・ Left Struggle
・ Left to Die


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Left rotation : ウィキペディア英語版
Left rotation
Left rotation refers to the following
* In an array, moving all items to the next lower location. The first item is moved to the last location, which is now vacant.
* In a list, removing the head and inserting it at the tail.
== Tree Rotation ==
In a binary search tree, a left rotation is the movement of a node, X, down to the left. This rotation assumes that X has a right child (or subtree). X's right child, R, becomes X's parent node and R's left child becomes X's new right child. This rotation is done to balance the tree; specifically when the right subtree of node X has a significantly (depends on the type of tree) greather height than its left subtree.
Left rotations (and right) are ''order preserving'' in a binary search tree; it preserves the binary search tree property (an in-order traversal of the tree will yield the keys of the nodes in proper order). AVL trees and red-black trees are two examples of binary search trees that use the left rotation.
A single left rotation is done in O(1) time but is often integrated within the node insertion and deletion of binary search trees. The rotations are done to keep the cost of other methods and tree height at a minimum.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Left rotation」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.